const originalData = {
    count: 0
};
export default function numRenducer(state = originalData, action) {
    switch (action.type) {
        case 'counAdd':
            const resCount = state.count + 1;
            return { ...state, ...{ count: resCount } };
        default:
            return state;
    }
}
